package com.lcz.cloud_note.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Action
{
    private String cn_activity_id;
    private String cn_activity_title;
    private String cn_activity_body;

    public String toString() {
        final StringBuffer sb = new StringBuffer("ActionDao{");
        sb.append("cn_activity_id='").append(cn_activity_id).append('\'');
        sb.append(", cn_activity_title='").append(cn_activity_title).append('\'');
        sb.append(", cn_activity_body='").append(cn_activity_body).append('\'');
        sb.append(", cn_activity_end_time=").append(cn_activity_end_time);
        sb.append('}');
        return sb.toString();
    }

    public String getCn_activity_id() {
        return cn_activity_id;
    }

    public void setCn_activity_id(String cn_activity_id) {
        this.cn_activity_id = cn_activity_id;
    }

    public String getCn_activity_title() {
        return cn_activity_title;
    }

    public void setCn_activity_title(String cn_activity_title) {
        this.cn_activity_title = cn_activity_title;
    }

    public String getCn_activity_body() {
        return cn_activity_body;
    }

    public void setCn_activity_body(String cn_activity_body) {
        this.cn_activity_body = cn_activity_body;
    }

    public Date getCn_activity_end_time() {
        return cn_activity_end_time;
    }

    public void setCn_activity_end_time(Date cn_activity_end_time) {
        this.cn_activity_end_time = cn_activity_end_time;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date cn_activity_end_time;
}
